{% load i18n %}
{% load ace %}

    {# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
    <a
    {% if reset_url %}
        href={{reset_url}}
    {% elif course_cta_url %}
        href="{% with_link_tracking course_cta_url %}"
    {% else %}
        {%if course_ids|length > 1 %}
            href="{% with_link_tracking dashboard_url %}"
        {% else %}
            href="{% with_link_tracking course_url %}"
        {% endif %}
    {% endif %}
    style="
        text-decoration: none;
            color: white;
            background-color: #ED5C13;
            text-align: center;
            vertical-align: middle;
            user-select: none;
            font-weight: 500;
            font-size: 12px;
            text-decoration-style: solid;
            display: inline-flex;
            flex-direction: row;
            border-radius: 30.22px;
            padding-top: 6px;
            padding-bottom: 6px;
            padding-left: 11px;
            padding-right: 11px;
    ">
        {# old email clients require the use of the font tag :( #}
        {{ course_cta_text }}
    </a>
